#ifndef MYCLIENT_H
#define MYCLIENT_H

#include <QObject>
#include <QTcpSocket>

class MyClient : public QObject
{
    Q_OBJECT
public:
    explicit MyClient(QObject *parent = 0);
    void setSocketDescriptor(qintptr id);

signals:

public slots:
    void readyRead();
    void disconnect();
    void connected();
    void TaskResult(int Number);
private:
    qintptr socketDescriptor;
    QTcpSocket* socket;
};

#endif // MYCLIENT_H
